package com.equipment.fkdcn.service;

import com.equipment.fkdcn.mapper.ScrapMapper;
import com.equipment.fkdcn.pojo.Scrap;

import java.util.List;

public class ScrapServiceImpl implements ScrapService {

    private  ScrapMapper scrapService;

    public void setScrapService(ScrapMapper scrapService) {
        this.scrapService = scrapService;
    }

    public List<Scrap> allQuery() {
        return scrapService.allQuery();
    }

    public boolean del(int id) {
        return scrapService.del(id);
    }
}
